import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'isApproval'
})
export class IsApprovalPipe implements PipeTransform {

  transform(value: boolean): string {
    return value ? '已核准' : '未核准';
  }

}
